3.1.68 \(\int (a+b x)^3 \, dx\)

Optimal. Leaf size=14 \[ \frac {(a+b x)^4}{4 b} \]

________________________________________________________________________________________

Rubi [A]  time = 0.00, antiderivative size = 14, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 7, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {32} \begin {gather*} \frac {(a+b x)^4}{4 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*x)^3,x]

[Out]

(a + b*x)^4/(4*b)

Rule 32

Int[((a_.) + (b_.)*(x_))^(m_), x_Symbol] :> Simp[(a + b*x)^(m + 1)/(b*(m + 1)), x] /; FreeQ[{a, b, m}, x] && N
eQ[m, -1]

Rubi steps

\begin {align*} \int (a+b x)^3 \, dx &=\frac {(a+b x)^4}{4 b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 14, normalized size = 1.00 \begin {gather*} \frac {(a+b x)^4}{4 b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*x)^3,x]

[Out]

(a + b*x)^4/(4*b)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int (a+b x)^3 \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a + b*x)^3,x]

[Out]

IntegrateAlgebraic[(a + b*x)^3, x]

________________________________________________________________________________________

fricas [B]  time = 1.34, size = 31, normalized size = 2.21 \begin {gather*} \frac {1}{4} x^{4} b^{3} + x^{3} b^{2} a + \frac {3}{2} x^{2} b a^{2} + x a^{3} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^3,x, algorithm="fricas")

[Out]

1/4*x^4*b^3 + x^3*b^2*a + 3/2*x^2*b*a^2 + x*a^3

________________________________________________________________________________________

giac [A]  time = 1.36, size = 12, normalized size = 0.86 \begin {gather*} \frac {{\left (b x + a\right )}^{4}}{4 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^3,x, algorithm="giac")

[Out]

1/4*(b*x + a)^4/b

________________________________________________________________________________________

maple [A]  time = 0.00, size = 13, normalized size = 0.93 \begin {gather*} \frac {\left (b x +a \right )^{4}}{4 b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x+a)^3,x)

[Out]

1/4*(b*x+a)^4/b

________________________________________________________________________________________

maxima [B]  time = 1.39, size = 31, normalized size = 2.21 \begin {gather*} \frac {1}{4} \, b^{3} x^{4} + a b^{2} x^{3} + \frac {3}{2} \, a^{2} b x^{2} + a^{3} x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)^3,x, algorithm="maxima")

[Out]

1/4*b^3*x^4 + a*b^2*x^3 + 3/2*a^2*b*x^2 + a^3*x

________________________________________________________________________________________

mupad [B]  time = 0.04, size = 31, normalized size = 2.21 \begin {gather*} a^3\,x+\frac {3\,a^2\,b\,x^2}{2}+a\,b^2\,x^3+\frac {b^3\,x^4}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*x)^3,x)

[Out]

a^3*x + (b^3*x^4)/4 + (3*a^2*b*x^2)/2 + a*b^2*x^3

________________________________________________________________________________________

sympy [B]  time = 0.07, size = 32, normalized size = 2.29 \begin {gather*} a^{3} x + \frac {3 a^{2} b x^{2}}{2} + a b^{2} x^{3} + \frac {b^{3} x^{4}}{4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x+a)**3,x)

[Out]

a**3*x + 3*a**2*b*x**2/2 + a*b**2*x**3 + b**3*x**4/4

________________________________________________________________________________________